﻿using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/DD/20100524/DC", TypeName = "Font")]
[XmlRoot(Namespace = "http://www.omg.org/spec/DD/20100524/DC", IsNullable = false)]
public partial class Font
{
    /// <remarks/>
    [XmlAttribute("name")]
    public string Name { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("size")]
    public double Size { get; set; } = default!;

    /// <remarks/>
    [XmlIgnore]
    public bool SizeSpecified { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("isBold")]
    public bool IsBold { get; set; } = default!;

    /// <remarks/>
    [XmlIgnore]
    public bool IsBoldSpecified { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("isItalic")]
    public bool IsItalic { get; set; } = default!;

    /// <remarks/>
    [XmlIgnore]
    public bool IsItalicSpecified { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("isUnderline")]
    public bool IsUnderline { get; set; } = default!;

    /// <remarks/>
    [XmlIgnore]
    public bool IsUnderlineSpecified { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("isStrikeThrough")]
    public bool IsStrikeThrough { get; set; } = default!;

    /// <remarks/>
    [XmlIgnore]
    public bool IsStrikeThroughSpecified { get; set; } = default!;
}
